
<template>
  <!-- <router-link to="/home">首页</router-link>
  <router-link to="/about">关于</router-link> -->
  <el-config-provider :size="size" :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
  <!-- <Counter></Counter> -->
</template>

<script setup lang="ts">
// import Counter from "@/components/Counter/index.vue";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import { storeToRefs } from "pinia";
import { useAppStore } from "./stores/app";

const store = useAppStore();

const { size } = storeToRefs(store);

</script>


<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
